Skip to main content
Version: 8.4.12.1

OptionPrintSummary

V8 Message Definiton

Root/Expiration trading summaries. Includes contracts and vega trade in total and on the public bid or offer. Records update live as public trades occur.

METADATA

AttributeValue
Topic2750-market-data-options
MLink TokenClientLive
ProductSRLive
accessTypeSELECT

Table Definition

FieldTypeKeyDefault ValueComment
ekey_atenum - AssetTypePRI'None'
ekey_tsenum - TickerSrcPRI'None'
ekey_tkVARCHAR(12)PRI''
ekey_yrSMALLINT UNSIGNEDPRI0
ekey_mnTINYINT UNSIGNEDPRI0
ekey_dyTINYINT UNSIGNEDPRI0
prtSummaryTypeenum - PrtSummaryTypePRI'None'
ticker_atenum - AssetType'None'
ticker_tsenum - TickerSrc'None'
ticker_tkVARCHAR(12)''
cnPrtINT0total contracts printed
cnBotINT0total contracts bot print price closer to bid
cnSldINT0total contracts sld print price closer to ask
vePrtFLOAT0sumabscn upc ve
veBotFLOAT0sumabscn upc ve side 0
veSldFLOAT0sumabscn upc ve side 0
veDdPrtFLOAT0sumabscn upc ve fuzzy bucket
veDnPrtFLOAT0sumabscn upc ve fuzzy bucket
veAtPrtFLOAT0sumabscn upc ve fuzzy bucket
veUpPrtFLOAT0sumabscn upc ve fuzzy bucket
veDuPrtFLOAT0sumabscn upc ve fuzzy bucket
veDdBotFLOAT0sumabscn upc ve side 0 fuzzy bucket
veDnBotFLOAT0sumabscn upc ve side 0 fuzzy bucket
veAtBotFLOAT0sumabscn upc ve side 0 fuzzy bucket
veUpBotFLOAT0sumabscn upc ve side 0 fuzzy bucket
veDuBotFLOAT0sumabscn upc ve side 0 fuzzy bucket
veDdSldFLOAT0sumabscn upc ve side 0 fuzzy bucket
veDnSldFLOAT0sumabscn upc ve side 0 fuzzy bucket
veAtSldFLOAT0sumabscn upc ve side 0 fuzzy bucket
veUpSldFLOAT0sumabscn upc ve side 0 fuzzy bucket
veDuSldFLOAT0sumabscn upc ve side 0 fuzzy bucket
recCntINT0number of print reports included in totals
netTimestampBIGINT0inbound packet PTP timestamp from SR gateway switchusually syncronized with facility grandfather clock
timestampDATETIME(6)'1900-01-01 00:00:00.000000'

PRIMARY KEY DEFINITION (Unique)

FieldSequence
ekey_tk1
ekey_yr2
ekey_mn3
ekey_dy4
ekey_at5
ekey_ts6
prtSummaryType7

CREATE TABLE EXAMPLE QUERY

CREATE TABLE `SRLive`.`MsgOptionPrintSummary` (
`ekey_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None',
`ekey_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None',
`ekey_tk` VARCHAR(12) NOT NULL DEFAULT '',
`ekey_yr` SMALLINT UNSIGNED NOT NULL DEFAULT 0,
`ekey_mn` TINYINT UNSIGNED NOT NULL DEFAULT 0,
`ekey_dy` TINYINT UNSIGNED NOT NULL DEFAULT 0,
`prtSummaryType` ENUM('None','Live','PriorDay') NOT NULL DEFAULT 'None',
`ticker_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None',
`ticker_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None',
`ticker_tk` VARCHAR(12) NOT NULL DEFAULT '',
`cnPrt` INT NOT NULL DEFAULT 0 COMMENT 'total contracts printed',
`cnBot` INT NOT NULL DEFAULT 0 COMMENT 'total contracts bot (print price closer to bid)',
`cnSld` INT NOT NULL DEFAULT 0 COMMENT 'total contracts sld (print price closer to ask)',
`vePrt` FLOAT NOT NULL DEFAULT 0 COMMENT 'sum(abs(cn * upc * ve))',
`veBot` FLOAT NOT NULL DEFAULT 0 COMMENT 'sum(abs(cn * upc * ve)) | side > 0',
`veSld` FLOAT NOT NULL DEFAULT 0 COMMENT 'sum(abs(cn * upc * ve)) | side < 0',
`veDdPrt` FLOAT NOT NULL DEFAULT 0 COMMENT 'sum(abs(cn * upc * ve)) & fuzzy bucket',
`veDnPrt` FLOAT NOT NULL DEFAULT 0 COMMENT 'sum(abs(cn * upc * ve)) & fuzzy bucket',
`veAtPrt` FLOAT NOT NULL DEFAULT 0 COMMENT 'sum(abs(cn * upc * ve)) & fuzzy bucket',
`veUpPrt` FLOAT NOT NULL DEFAULT 0 COMMENT 'sum(abs(cn * upc * ve)) & fuzzy bucket',
`veDuPrt` FLOAT NOT NULL DEFAULT 0 COMMENT 'sum(abs(cn * upc * ve)) & fuzzy bucket',
`veDdBot` FLOAT NOT NULL DEFAULT 0 COMMENT 'sum(abs(cn * upc * ve)) | side > 0 & fuzzy bucket',
`veDnBot` FLOAT NOT NULL DEFAULT 0 COMMENT 'sum(abs(cn * upc * ve)) | side > 0 & fuzzy bucket',
`veAtBot` FLOAT NOT NULL DEFAULT 0 COMMENT 'sum(abs(cn * upc * ve)) | side > 0 & fuzzy bucket',
`veUpBot` FLOAT NOT NULL DEFAULT 0 COMMENT 'sum(abs(cn * upc * ve)) | side > 0 & fuzzy bucket',
`veDuBot` FLOAT NOT NULL DEFAULT 0 COMMENT 'sum(abs(cn * upc * ve)) | side > 0 & fuzzy bucket',
`veDdSld` FLOAT NOT NULL DEFAULT 0 COMMENT 'sum(abs(cn * upc * ve)) | side > 0 & fuzzy bucket',
`veDnSld` FLOAT NOT NULL DEFAULT 0 COMMENT 'sum(abs(cn * upc * ve)) | side > 0 & fuzzy bucket',
`veAtSld` FLOAT NOT NULL DEFAULT 0 COMMENT 'sum(abs(cn * upc * ve)) | side > 0 & fuzzy bucket',
`veUpSld` FLOAT NOT NULL DEFAULT 0 COMMENT 'sum(abs(cn * upc * ve)) | side > 0 & fuzzy bucket',
`veDuSld` FLOAT NOT NULL DEFAULT 0 COMMENT 'sum(abs(cn * upc * ve)) | side > 0 & fuzzy bucket',
`recCnt` INT NOT NULL DEFAULT 0 COMMENT 'number of print reports included in totals',
`netTimestamp` BIGINT NOT NULL DEFAULT 0 COMMENT 'inbound packet PTP timestamp from SR gateway switch;usually syncronized with facility grandfather clock',
`timestamp` DATETIME(6) NOT NULL DEFAULT '1900-01-01 00:00:00.000000',
PRIMARY KEY USING HASH (`ekey_tk`,`ekey_yr`,`ekey_mn`,`ekey_dy`,`ekey_at`,`ekey_ts`,`prtSummaryType`)
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='Root/Expiration trading summaries. Includes contracts and vega trade in total and on the public bid or offer. Records update live as public trades occur.';

SELECT TABLE EXAMPLE QUERY

SELECT
`ekey_at`,
`ekey_ts`,
`ekey_tk`,
`ekey_yr`,
`ekey_mn`,
`ekey_dy`,
`prtSummaryType`,
`ticker_at`,
`ticker_ts`,
`ticker_tk`,
`cnPrt`,
`cnBot`,
`cnSld`,
`vePrt`,
`veBot`,
`veSld`,
`veDdPrt`,
`veDnPrt`,
`veAtPrt`,
`veUpPrt`,
`veDuPrt`,
`veDdBot`,
`veDnBot`,
`veAtBot`,
`veUpBot`,
`veDuBot`,
`veDdSld`,
`veDnSld`,
`veAtSld`,
`veUpSld`,
`veDuSld`,
`recCnt`,
`netTimestamp`,
`timestamp`
FROM `SRLive`.`MsgOptionPrintSummary`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') */
`ekey_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') */
`ekey_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`ekey_tk` = 'Example_ekey_tk'
AND
/* Replace with a SMALLINT UNSIGNED */
`ekey_yr` = 123
AND
/* Replace with a TINYINT UNSIGNED */
`ekey_mn` = 1
AND
/* Replace with a TINYINT UNSIGNED */
`ekey_dy` = 1
AND
/* Replace with a ENUM('None','Live','PriorDay') */
`prtSummaryType` = 'None';

Doc Columns Query

SELECT * FROM SRLive.doccolumns WHERE TABLE_NAME='OptionPrintSummary' ORDER BY ordinal_position ASC;